﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SampleApp.Domain;

namespace SampleApp.Service
{
    public interface ISysRoleService
    {
        SysRole GetSysRoleByID(string roleID);
        void CreateSysRole(SysRole sysRole);
        List<SysRole> GetSysRoleList();
        void DeleteSysRole(string roleID);
        void UpdateSysRole(SysRole sysRole);
        List<string> GetMenuListByRole(string roleID);
        void SetRoleMenu(string roleID, List<string> menuList);
    }
}
